package com.tony.netty;


import io.netty.channel.Channel;

/**
 * @author xianghao
 * @date 2018/3/28 10:13
 */
public class PrintChannel {

    public static void print(Channel channel){
        System.out.println("当前CPU时间:"+System.nanoTime());
        System.out.println("isRegistered="+channel.isRegistered()+",isOpen="+channel.isOpen()+",isActive="+channel.isActive()
        +",isWritable="+channel.isWritable()+"\n");
    }
}
